<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>

<?php 
//有意向的客户
include_once("..\\common.php");
//  防止全局变量造成安全隐患 
$admin = false; 
//  启动会话，这步必不可少 
CheckSalerLogon();


$clientid = $_GET["clientid"];
$salerid= $_SESSION['salerid'];
?> 


<form action="handleclient.php?clientid=<?php echo $clientid; ?>" method="post" name="formchange">
<table width="300" border="1">
  <tr>
    <td>转给其他组员</td>
    <td>是否继续跟进</td>
  </tr>
  <tr>
    <td>
    <select name="othersaler" id="select">   
      	<?php 
			$DB = DBConnect();
			$query = "SELECT id,name FROM `saler` WHERE state='enabled' "; 
			$result = mysql_query($query,$DB);
			while ($myrow = mysql_fetch_row($result)) 
			{
				$othersalerid = $myrow[0];
				if($othersalerid == $salerid)continue;
				if($myrow[1]=="")continue;
				
				echo "<option value=$othersalerid >";				
				echo $myrow[1];
				echo "</option>";
				echo "\n";
			}  		
		?>
	</select>
   
    </td>
    <td>
      <input name="keeptrackon" type="checkbox" id="checkbox" value="1" checked="checked" />
    </td>
  </tr>
</table>
  <input type="submit" name="submit2" id="submit2" value="提交" />
</form>
</body>
</html>